package com.yz.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yz.book.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ste
 * @since 2023-02-04 03:37:37
 */
public interface UserService extends IService<User> {


    User getUserByUsername(String username);

    User getUserByEmail(String email);

    void reg(String username, String password, String tel, String email);

}
